<include file="Public:header" />
<include file="Public:left" />

<style>
    td{text-align:center;}
</style>
<section>
    <div class="page_title">
        <h2 class="fl">分类列表</h2>
        <a class="fr" href="{:url('Mechanism/add_category')}">添加分类</a>
    </div>
    <table class="table">
        <tr>
            <th style="width: 50px;">ID</th>
            <th>分类名称</th>
            <th>排序</th>
            <th style="width:150px;">操作</th>
        </tr>
            <volist name="mechanism_category" id="vo">
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.name}</td>
                <td>{$vo.orders}</td>
                <td>
                    <a href="{:url('Mechanism/add_category',array('id'=>$vo['id']))}" class="inner_btn">编辑</a>
                </td>
            </tr>
        </volist>
    </table>

    {$page}
</section>
 </div>
</section>
</body>
</html>
